import request from './request/request.js';

const api = {
	//发送sms验证码
	getCode(data) {
		return request('/nall/digo', 'POST', data);
	},
	//语音验证码 
	getVoiceCode(data) {
		return request('/nall/fpwp', 'POST', data);
	},
	//登录
	getLogin(data) {
		return request('/nall/uxdd', 'POST', data);
	},
	//信息埋点
	SetDot(data) {
		return request('/uiqa/iqoe', 'POST', data);
	},
	//封控埋点
	SetfengkongDot(data) {
		return request('/uiqa/qyzy', 'POST', data);
	},
	
	//统一fengkong
	SetfengkongDotAll(data) {
		return request('/uiqa/jvbw', 'POST', data);
	},

	//照片回显 个人信息
	getPhotoUrl(data) {
		return request('/aegf/efrn', 'POST', data);
	},


	// 认证对比分数
	ComparisonFaceIDcard(data) {
		return request('/aegf/efrn', 'POST', data);
	},


	//用户信息更新
	uploadUserInfo(data) {
		return request('/aegf/pfhj', 'POST', data);
	},

	//用户信息查询
	getUserInfo(data) {
		return request('/aegf/gkae', 'POST', data);
	},


	//更新银行卡
	uploadBankInfo(data) {
		return request('/aegf/lhfm', 'POST', data);
	},

	//银行卡信息
	getBankInfo(data) {
		return request('/aegf/ifyi', 'POST', data);
	},


	//是否上传json
	checkJsonExist(data) {
		return request('/epqt/tiji', 'POST', data);
	},


	//上传json
	uploadJson(data) {
		return request('/epqt/paas', 'POST', data);
	},

	//下拉菜单客服电话等配置
	getDroupMeun(data) {
		return request('/uiqa/gzzd', 'POST', data);
		// return request('/anon/getAppConfig', 'POST', data);
	},


	//是否展示多产品
	checkMultipleHome(data) {
		return request('/rlky/indexForMulFlag', 'POST', data); //swMflag 1 多 0单
	},

	//获取联系人数量
	getContactsSetting(data) {
		return request('/uiqa/njes', 'POST', data);
	},

	//产品详情id查询 //产品id 产品详情id 金额步长 
	getqueryProduct(data) {
		return request('/njaf/bexh', 'POST', data);
	},

	//根据金额算各项数据
	getMoneyData(data) {
		return request('/njaf/wmad', 'POST', data);
	},

	//预提交
	getpreSubmitOrder(data) {
		return request('/zkdu/ucbo', 'POST', data);
	},

	//提交
	getSubmitOrder(data) {
		return request('/zkdu/wnfv', 'POST', data);
	},



	//获取多产品首页
	getIndexInfo(data) {
		return request('/rlky/ntxw', 'POST', data);
	},

	//领取
	getMoney(data) {
		return request('/zkdu/jwle', 'POST', data);
	},

	//订单详情
	getOderdetailInfo(data) {
		return request('/zkdu/vueo', 'POST', data);
	},


	//支付渠道
	getrepayChannel(data) {
		return request('/jvww/rrqp', 'POST', data);
	},
	//还款
	repaymoney(data) {
		return request('/jvww/hjyc', 'POST', data);
	},
	
	//提额
	Increaseamount(data) {
		return request('/aegf/cvig', 'POST', data);
	},
	
	//复制用户信息
	copyuserid(data) {
		return request('/rlky/lton', 'POST', data);
	},
	
	//客服信息弹窗
	getcustInfo(data) {
		return request('/uiqa/nwct', 'POST', data);
	},
	


};

export default api;